#ifndef MRR_TRUNK_PRIVUTILS_H_
#define MRR_TRUNK_PRIVUTILS_H_

#include <stdio.h>
#include "phypos.h"
#include "trunk.h"
#include "logger.h"

#define TRUNK_HEADER_LENGTH (4)

typedef unsigned int trunk_sn_t;


void norm_phy_location(mrr_phypos *locp);
int open_trunkfile(unsigned int trunkno, FILE **fh);

#endif /*MRR_TRUNK_PRIVUTILS_H_*/
